<template>
<div>
    <div class="category">
        <span>社区</span>
        <ul>
            <!-- 字典上只见“板块”，这里取为标准写法 -->
            <router-link tag="li" :to="{ name: 'admin_forum_board' }" exact><a>板块管理</a></router-link>
            <router-link tag="li" :to="{ name: 'admin_forum_topic' }" ><a>主题管理</a></router-link>
        </ul>
    </div>

    <div class="category" v-if="0">
        <span>文档</span>
        <ul>
            <li><a href="#">投稿审批</a></li>
            <li><a href="#">文档管理</a></li>
        </ul>
    </div>

    <div class="category">
        <span>综合</span>
        <ul>
            <router-link tag="li" :to="{ name: 'admin_common_user' }" ><a>用户管理</a></router-link>
            <router-link tag="li" :to="{ name: 'admin_common_comment' }" ><a>评论管理</a></router-link>
            <router-link tag="li" :to="{ name: 'admin_common_manage_log' }" ><a>管理日志</a></router-link>
        </ul>
    </div>

</div>
</template>

<style scoped>
.category > span {
    font-weight: bold;
}

.category > ul {
    list-style-type: none;
    padding-left: 0px;
}

.category > ul > li {
    padding: 10px;
}

.category > ul > li.router-link-exact-active {
    font-weight: bold;
}

.category > ul > li.router-link-active {
    font-weight: bold;
}
</style>

<script>
export default {
    data () {
        return {
        }
    }
}
</script>
